(tar-swap-data): New function.
authorAndreas Schwab <schwab@suse.de>
Fri, 26 Dec 2008 16:38:00 +0000 (16:38 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 26 Dec 2008 16:38:00 +0000 (16:38 +0000)
commitd92c7ccb66a5a24be76e30f774ed69cdfa253c10
tree6d3499dac597b1121083c48ef923cb4c504b0ebb
parent20e76c3aecd3c9996636c60d782e6f5f2821f9bf
(tar-swap-data): New function.
(tar-change-major-mode-hook): Use it instead of buffer-swap-text.
(tar-mode-revert): Likewise.
(tar-mode): Likewise.  Don't set write-region-annotate-functions.
(tar-data-swapped-p): Test buffer-swapped-with.
(tar-write-region-annotate): Remove.
(tar-header-block-tokenize): Add argument `coding' and use it
instead of tar-file-name-coding-system.
(tar-summarize-buffer): Pass tar-file-name-coding-system here.
lisp/ChangeLog
lisp/tar-mode.el